package com.yxh.service;

import com.github.pagehelper.PageInfo;
import com.yxh.base.BaseService;
import com.yxh.pojo.FlowShip;
import com.yxh.pojo.User;
import com.yxh.pojo.tree.BaseTreeGrid;
import com.yxh.pojo.vo.UserRestPasswordVO;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by 32988 on 2018/5/31.
 */
public interface UserService extends BaseService<User,String> {

    void register(User user);

    void resetPassword(UserRestPasswordVO userRestPasswordVO);

    PageInfo getInformation(User user,Integer limit, Integer offset);

    PageInfo getUserInfo(String userInfo,Integer limit, Integer offset);

    List<User> getInformation(String deptId);

    List<BaseTreeGrid> getList(FlowShip flowShip);
    List<Map<String,Object>> selectCheckedList(FlowShip flowShip);

}
